//package com.yanfan.energy;
//
//
//import com.yanfan.energy.controller.ApiEnergyController;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
//import javax.annotation.PostConstruct;
//
//@Component("energy")
//public class TaskJob {
//    @Autowired
//    ApiEnergyController apiEnergyController;
//
//
//    @PostConstruct
//    public void taskInit(){
//            apiEnergyController.getEnergyDeiveData();
//    }
//}
